package com.zheng.wechat.mp.dao.model;

import java.io.Serializable;
import java.util.Date;

public class WechatMpSystemActAnalysis implements Serializable {
    /**
     * ID
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 活动ID
     *
     * @mbg.generated
     */
    private String actId;

    /**
     * 活动类型CODE
     *
     * @mbg.generated
     */
    private String projectCode;

    /**
     * 当日参与数
     *
     * @mbg.generated
     */
    private Integer joinNum;

    /**
     * 当日分享数
     *
     * @mbg.generated
     */
    private Integer shareNum;

    /**
     * 累计参与数
     *
     * @mbg.generated
     */
    private Integer totalJoinNum;

    /**
     * 累计分享数
     *
     * @mbg.generated
     */
    private Integer totalShareNum;

    /**
     * 统计日期
     *
     * @mbg.generated
     */
    private Date refDate;

    /**
     * 创建人
     *
     * @mbg.generated
     */
    private String createName;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getActId() {
        return actId;
    }

    public void setActId(String actId) {
        this.actId = actId;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public Integer getJoinNum() {
        return joinNum;
    }

    public void setJoinNum(Integer joinNum) {
        this.joinNum = joinNum;
    }

    public Integer getShareNum() {
        return shareNum;
    }

    public void setShareNum(Integer shareNum) {
        this.shareNum = shareNum;
    }

    public Integer getTotalJoinNum() {
        return totalJoinNum;
    }

    public void setTotalJoinNum(Integer totalJoinNum) {
        this.totalJoinNum = totalJoinNum;
    }

    public Integer getTotalShareNum() {
        return totalShareNum;
    }

    public void setTotalShareNum(Integer totalShareNum) {
        this.totalShareNum = totalShareNum;
    }

    public Date getRefDate() {
        return refDate;
    }

    public void setRefDate(Date refDate) {
        this.refDate = refDate;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", actId=").append(actId);
        sb.append(", projectCode=").append(projectCode);
        sb.append(", joinNum=").append(joinNum);
        sb.append(", shareNum=").append(shareNum);
        sb.append(", totalJoinNum=").append(totalJoinNum);
        sb.append(", totalShareNum=").append(totalShareNum);
        sb.append(", refDate=").append(refDate);
        sb.append(", createName=").append(createName);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        WechatMpSystemActAnalysis other = (WechatMpSystemActAnalysis) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getActId() == null ? other.getActId() == null : this.getActId().equals(other.getActId()))
            && (this.getProjectCode() == null ? other.getProjectCode() == null : this.getProjectCode().equals(other.getProjectCode()))
            && (this.getJoinNum() == null ? other.getJoinNum() == null : this.getJoinNum().equals(other.getJoinNum()))
            && (this.getShareNum() == null ? other.getShareNum() == null : this.getShareNum().equals(other.getShareNum()))
            && (this.getTotalJoinNum() == null ? other.getTotalJoinNum() == null : this.getTotalJoinNum().equals(other.getTotalJoinNum()))
            && (this.getTotalShareNum() == null ? other.getTotalShareNum() == null : this.getTotalShareNum().equals(other.getTotalShareNum()))
            && (this.getRefDate() == null ? other.getRefDate() == null : this.getRefDate().equals(other.getRefDate()))
            && (this.getCreateName() == null ? other.getCreateName() == null : this.getCreateName().equals(other.getCreateName()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getActId() == null) ? 0 : getActId().hashCode());
        result = prime * result + ((getProjectCode() == null) ? 0 : getProjectCode().hashCode());
        result = prime * result + ((getJoinNum() == null) ? 0 : getJoinNum().hashCode());
        result = prime * result + ((getShareNum() == null) ? 0 : getShareNum().hashCode());
        result = prime * result + ((getTotalJoinNum() == null) ? 0 : getTotalJoinNum().hashCode());
        result = prime * result + ((getTotalShareNum() == null) ? 0 : getTotalShareNum().hashCode());
        result = prime * result + ((getRefDate() == null) ? 0 : getRefDate().hashCode());
        result = prime * result + ((getCreateName() == null) ? 0 : getCreateName().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        return result;
    }
}